package com.kevin.netty.server;

import com.kevin.netty.starter.util.ChannelGroupHelper;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.Bean;

@SpringBootApplication
public class NettyServerApplication {

    public static void main(String[] args) {
        SpringApplication.run(NettyServerApplication.class, args);
    }

    @Bean
    public ChannelGroupHelper channelGroupHelper() {
        return new ChannelGroupHelper();
    }

}

